﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.Common;
using W.Common.Enum;

namespace W.Purchase.Domain
{
    /// <summary>
    /// 销售退货
    /// </summary>
    public class SaleReturns:BaseModel
    {
        /// <summary>
        /// 销售退货Id
        /// </summary>
        [Key]
        public int SaleReturnsId { get; set; }
        /// <summary>
        /// 退货单号
        /// </summary>
        public string? SaleReturnsNo {  get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName{ get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductNo { get; set; }
        /// <summary>
        /// 产品规格
        /// </summary>
        public string? ProductSpec {  get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? UnitName { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 退货数
        /// </summary>
        public int? SaleReturnsNum { get; set; }
        /// <summary>
        /// 总额
        /// </summary>
        public decimal? SaleReturnsTotal { get; set; }
        /// <summary>
        /// 销售单号
        /// </summary>
        public string? SalesOrdersNo{ get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? ClientName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string? SaleReturnsState { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? user_id    { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string? Batch { get; set; }
    }
}
